package org.ielse.frame.test;

import org.ielse.frame.BaseActivity;
import org.ielse.frame.R;
import org.ielse.frame.view.ImageView;
import org.ielse.frame.view.TitleLayout;

import android.os.Bundle;

public class NormalActivity extends BaseActivity {

	private TitleLayout layTitle;

	@Override protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_normal);

		layTitle = (TitleLayout) findViewById(R.id.lay_title);
		layTitle.setTextTitle(R.string.action_settings);
		
		final ImageView imgTest = (ImageView) findViewById(R.id.img_test);
		imgTest.setType(ImageView.TYPE_ROUND);
		imgTest.loadImage("http://my.csdn.net/uploads/avatar/5/1/A/1_bfbx5173.jpg");
		
		
		
		final ImageView imgTest2 = (ImageView) findViewById(R.id.img_test2);
		imgTest2.setType(ImageView.TYPE_OVAL);
		imgTest2.loadImage("http://my.csdn.net/uploads/avatar/5/1/A/1_bfbx5173.jpg");

	}

}
